package cn.tedu.restaurant.mapper;

import cn.tedu.restaurant.entity.Top;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author JachinLin
 * @since 2020-10-06
 */
public interface TopMapper extends BaseMapper<Top> {
    Integer selectTop();
    Integer updateTop(Integer uid,Integer flag,String phone);
    Top findByUid(Integer uid);
}
